package com.epam.cdp.ejb.ws;

import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebService;

@Stateless
@WebService
public class SimpleEJBWebService {
	
	// can be tested on http://localhost:8080/web.ejb/SimpleEJBWebServiceService?Tester
	// or 				http://epualviw0090:8088/SimpleEJBWebServiceService/SimpleEJBWebService?Tester
	@WebMethod
	public double sqrt(double arg) {
		return Math.sqrt(arg);
	}
}
